<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
    return $request->user();
});


Route::any('/taobao', 'App\Http\Controllers\Api\FmwTaoBaoController@index');
Route::any('/taobaofx', 'App\Http\Controllers\Api\FmwTaoBaoController@index');
Route::any('/taobao/token', 'App\Http\Controllers\Api\FmwTaoBaoController@token');
Route::any('/youzan/{arg1?}/{arg2?}', 'App\Http\Controllers\Api\FmwYouZanController@index');
Route::any('/ylbb', 'App\Http\Controllers\Api\FmwTaoBaoController@index');
Route::any('/douyin/{arg1?}/{arg2?}', 'App\Http\Controllers\Api\FmwDouYinController@index');
Route::any('/pinduoduo/{arg1?}/{arg2?}', 'App\Http\Controllers\Api\FmwPDDController@index');
Route::any('/jd', 'App\Http\Controllers\Api\FmwJDController@index');
Route::any('/jd/PullDataService/pullData', 'App\Http\Controllers\Api\FmwJDController@pullData');
Route::any('/jd/{arg1?}/{arg2?}', 'App\Http\Controllers\Api\FmwJDController@index');
Route::any('/cainiao', 'App\Http\Controllers\Api\CaiNiaoTestController@index');
Route::any('/xhs', 'App\Http\Controllers\Api\XHSController@index');
Route::any('/wxsph/{arg1?}/{arg2?}/{arg3?}', 'App\Http\Controllers\Api\FmwWxsphController@index');
Route::any('/wxsph/{arg1?}/{arg2?}/{arg3?}/{arg4?}/{arg5?}', 'App\Http\Controllers\Api\FmwWxsphController@index');
Route::any('/fms_config/{arg1?}/{arg2?}/{arg3?}', 'App\Http\Controllers\Api\FmsConfigController@index');
Route::any('/bosestore', 'App\Http\Controllers\Api\FmwBosestoreController@index');
Route::any('/vip', 'App\Http\Controllers\Api\FmwVipController@index');
Route::any('/vip/token', 'App\Http\Controllers\Api\FmwVipController@token');
Route::any('/ezr/api/{arg1?}/{arg2?}', 'App\Http\Controllers\Api\FmwEzrController@index');
Route::any('/bbc/app/site/hosting/restlet.nl', 'App\Http\Controllers\Api\FmwBBCController@index');
Route::any('/jdcz', 'App\Http\Controllers\Api\FmwJDCZController@index');
Route::any('/bs-pos', 'App\Http\Controllers\Api\BSPosController@index');
Route::any('/cegid/{arg1?}/{arg2?}/{arg3?}/{arg4?}', 'App\Http\Controllers\Api\CegidController@index');
Route::any('/pioneer/{arg1?}/{arg2?}/{arg3?}/{arg4?}', 'App\Http\Controllers\Api\CegidController@pioneer');
Route::any('/almm/{arg1?}/{arg2?}/{arg3?}/{arg4?}', 'App\Http\Controllers\Api\CegidController@almm');
Route::any('/psi/{arg1?}/{arg2?}/{arg3?}/{arg4?}', 'App\Http\Controllers\Api\CegidController@casio_psi');
Route::any('/laofoye/{arg1?}/{arg2?}/{arg3?}/{arg4?}', 'App\Http\Controllers\Api\CegidController@laofoye');
Route::any('/pec/{arg1?}/{arg2?}/{arg3?}/{arg4?}', 'App\Http\Controllers\Api\CegidController@pec');
Route::any('/youliao/{arg1?}/{arg2?}/{arg3?}/{arg4?}', 'App\Http\Controllers\Api\CegidController@youliao');
Route::any('/dewu/{arg1?}/{arg2?}/{arg3?}/{arg4?}/{arg5?}', 'App\Http\Controllers\Api\FmwDewuController@index');
Route::any('/pioneer/{arg1?}/{arg2?}/{arg3?}', 'App\Http\Controllers\Api\PioneerController@index');
Route::any('/xianyu/{arg1?}/{arg2?}/{arg3?}', 'App\Http\Controllers\Api\FmwXianyuController@index');
Route::any('/jd-printing/{arg1?}', 'App\Http\Controllers\Api\FmwJdPrintingController@index');
Route::any('/upload-login-operation/{arg1?}/{arg2?}/{arg3?}', 'App\Http\Controllers\Api\UploadLoginOperationController@index');
Route::any('/taobao/{arg1?}/{arg2?}/{arg3?}', 'App\Http\Controllers\Api\UploadLoginOperationController@index');
Route::any('/erp-wsb/{arg1?}/{arg2?}/{arg3?}', 'App\Http\Controllers\Api\ErpWsbController@index');
Route::any('/kuaishou/{arg1?}/{arg2?}/{arg3?}/{arg4?}/{arg5?}/{arg6?}/{arg7?}', 'App\Http\Controllers\Api\FmwKuaishouController@index');
Route::any('/qimen/{arg1?}/{arg2?}/{arg3?}/{arg4?}/{arg5?}/{arg6?}/{arg7?}', 'App\Http\Controllers\Api\CegidController@index');
Route::any('/bbc/{arg1?}/{arg2?}/{arg3?}/{arg4?}/{arg5?}/{arg6?}/{arg7?}', 'App\Http\Controllers\Api\CegidController@bbc');
Route::any('/mercedes_benz/oauth2/token', 'App\Http\Controllers\Api\CegidController@mercedesBenzToken');
Route::any('/mercedes_benz/lead/leadservice', 'App\Http\Controllers\Api\CegidController@mercedesBenzLeadService');
